var i=Object.defineProperty;var l=(a,e,t)=>e in a?i(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var s=(a,e,t)=>(l(a,typeof e!="symbol"?e+"":e,t),t);import{d3 as D,as as o,cL as p}from"./index-68beeb37.js";import{M as r}from"./MapExt-1de51b77.js";import{SFDBSrc as E}from"./SFDBSrc-b5a81cac.js";import"./MapAttr-b9cf931d.js";import"./Events-141c34ea.js";import"./SFTable-39daafd0.js";import"./BSEntity-04e1e554.js";class y extends D{constructor(t){super("TS.MapExt.GPEActiveDDL");s(this,"DescSearchtip",` 
  #### 说明
  - 显示在搜索文本框的背景文字.
  - 输入城市名称,比如:beijing,bj,进行搜索.
  - 人员的编号,名称,拼音,进行模糊搜索.
   `);s(this,"DescTag1",` 
   #### 说明
   - zhoupeng 补充
    `);s(this,"DescDoc",` 
  #### 说明
  - SQL格式为:
  - SELECT No,Name FROM Port_Emp WHERE PinYin LIKE '@Key%' OR No LIKE '%@Key%' OR Name LIKE '%@Key%' 
  - SELECT No,Name FROM CN_City WHERE PinYin LIKE '%@Key%' OR Name LIKE '%@Key%'
  - URL格式为:
  - /DataUser/Handler.ashx?xxx=sss 
  - 方法的格式为:
  - MyFunName
   `);t&&(this.MyPK=t)}get HisUAC(){const t=new o;return t.IsDelete=!1,t.IsUpdate=!0,t.IsInsert=!1,t}get EnMap(){const t=new p("Sys_MapExt","级联下拉框");t.AddGroupAttr("基本设置"),t.AddMyPK(),t.AddTBString(r.FK_MapData,null,"表单ID",!0,!0,0,50,200),t.AddTBString(r.ExtModel,null,"ActiveDDL",!1,!1,0,50,200),t.AddTBString(r.ExtType,null,"ActiveDDL",!1,!1,0,50,200),t.AddTBString(r.AttrOfOper,null,"当前字段",!0,!0,0,50,200);const n=`
    SELECT KeyOfEn AS No, Name FROM Sys_MapAttr WHERE FK_MapData='@FK_MapData' 
    AND UIContralType=2  
    `;return t.AddDDLSQL(r.AttrsOfActive,null,"联动的字段",n,!0),t.AddDDLSysEnum(r.DBType,0,"数据源类型",!0,!0,"DBType","@0=执行SQL@1=执行url返回JSON@2=执行CCFromRef.js返回JSON",null,!1),t.AddDDLEntities(r.FK_DBSrc,"local","数据源",new E,!0,null,!1),t.AddTBString(r.Doc,null,"数据源表达式",!0,!1,0,50,200,!0,this.DescDoc),this._enMap=t,this._enMap}}export{y as GPEActiveDDL};
